package com.xiaoxin.experience.api.ssh.request;

import com.xiaoxin.experience.service.ssh.model.SSHSessionInfo;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author xiaoxin
 */
@Setter
@Getter
public class UploadRestartRequest implements Serializable
{
    private static final long serialVersionUID = -8364907856689345765L;

    private List<SSHSessionInfo> sshSessionInfos;

    private List<String[]> remoteDirAndLocalFilePaths;

    private boolean restart;

    private List<String> fileNames;

    @Override
    public String toString() {
        return "UploadRestartRequest{" +
                "sshSessionInfos=" + sshSessionInfos +
                ", remoteDirAndLocalFilePaths=" + remoteDirAndLocalFilePaths +
                ", restart=" + restart +
                ", fileNames=" + fileNames +
                '}';
    }
}
